```ts
(value, params) {
  return value && Object.keys(value).length ? value : params;
},
```